home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Developer Essentials / DTS Sample Code / Macintosh Sample Code / SCN (MPW) / SCN.023.FracApp 2.0 < prev    next >
Encoding:
Text File  |  1990-05-01  |  3.9 KB  |  95 lines  |  [TEXT/MPS ]

  1. Macintosh
  2. Sample Code Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5.  
  6. #23:    FracApp 2.0
  7.  
  8. Written by:    Keith Rollin
  9.  
  10. Versions:           2.0                           May 1990
  11.  
  12. Components:         FracApp.MAMake                May 1, 1990
  13.                     FracApp.r                     May 1, 1990
  14.                     GoFigger.a                    May 1, 1990
  15.                     MFracApp.p                    May 1, 1990
  16.                     Read Me                       May 1, 1990
  17.                     UAreaSelector.inc1.p          May 1, 1990
  18.                     UAreaSelector.p               May 1, 1990
  19.                     UFracApp.inc1.p               May 1, 1990
  20.                     UFracApp.p                    May 1, 1990
  21.                     UOffScreen.inc1.p             May 1, 1990
  22.                     UOffScreen.p                  May 1, 1990
  23.                     URectStack.inc1.p             May 1, 1990
  24.                     URectStack.p                  May 1, 1990
  25. _______________________________________________________________________________
  26.  
  27. This program requires MPW 3.1 or greater and MacApp 2.0 final to build.
  28. Follow the instructions concerning "OtherRezOptions" in FracApp.MAMake if you
  29. are using MPW 3.2.
  30.  
  31. The first time, build with:
  32.  
  33.     MABuild -NeedsColorQD -NeedsFPU [-NeedsMC68020] FracApp -AutoBuild
  34.  
  35. After the first time, MacApp will be properly built, so you can take out
  36. the -AutoBuild
  37.  
  38.     MABuild -NeedsColorQD -NeedsFPU [-NeedsMC68020] FracApp
  39. _______________________________________________________________________________
  40.  
  41. This is a not too small application that can calculate a fractal in full
  42. color on the Macintosh II, using direct-68881 code for speed.  It saves files
  43. on disk in PICT2 format.  This version specifically is set up to be fully
  44. compatible with Color QuickDraw and supports color table animation when using
  45. 32-Bit Color QuickDraw.
  46.  
  47. Version 1.0
  48. August 1988 by Bo3b Johnson
  49.  
  50.   o  Complete MacApp 1.1.1 application.
  51.   o  Demonstrated speed gains using direct-68881 code.
  52.   o  Calculated the fractal in the background.
  53.   o  Printed at 300 dpi (FracApp 300).
  54.   o  Used the Color Manager (FracApp).
  55.   o  Used the Palette Manager (FracApp Palette).
  56.   o  Drew to an off-screen PixMap and GDevice.
  57.   o  Saved file as PICT2.
  58.   o  Replaced QuickDraw bottlenecks to reduce memory hit when reading or
  59.      writing files.
  60.   o  MultiFinder friendly.
  61.   o  Color Table animation.
  62.   o  Custom mouse tracking when etching a selection rectangle.
  63.   o  Created a new document from the current selection.
  64.   o  Batch mode--created multiple documents in succession and saved each one.
  65.  
  66. Version 2.0
  67. May 1990 by Keith Rollin
  68.  
  69.   o  Uses MacApp 2.0.
  70.   o  Broken out into multiple files.
  71.   o  Uses new 32-Bit Color QuickDraw off-screen routines.
  72.   o  Palette animation courtesy of 32-Bit Color QuickDraw.
  73.   o  Implements faster algorithm for figuring Mandelbrot fractals
  74.      (Mariani/Silver method).
  75.   o  Shows use of new TDynamicArray class.
  76.   o  Uses new document structure (TFracAppDocument <- TPICTDocument
  77.      <- TDocument).
  78.   o  Fractal calculations broken into their own engine classes.
  79.   o  Faster core routine to figure pixel colors.  Should be fairly
  80.      optimized for 68882.
  81.   o  Created new TOffscreen class for handling different off-screen
  82.      techniques.
  83.   o  Cleaned up "Unsafe use of an object field as a var or > 4 byte
  84.      parameter" errors.
  85.   o  Added Time Manager routines for arbitrating calculation time.
  86.   o  Document preference for idle time calculations now works in a
  87.      front-to-back order, rather than all documents being given time
  88.      simultaneously.
  89.   o  Added information bar to show elapsed time and algorithm name.
  90.   o  Added scroll bar information tile to show percentage of fractal
  91.      complete.
  92.   o  Uses new header data format, so we use a different version number
  93.      in header.
  94.  
  95.